
public class Task1 {

	
	public static void main(String[] args) 
	{
		DaveQueue myqueue = new DaveQueue();
		

		myqueue.push(5);
		
		System.out.println(  myqueue.pop()   );
		
		System.out.println( myqueue.size()	);
		
	    myqueue.push(7);
		
		System.out.println( myqueue.empty()	);
		
		System.out.println( myqueue.size()	);
		

		
		
		
		// displayList(myqueue.head);
		
	
		
	}
	
	
	
	static void displayList(Node first)
	{
		for(Node cursor = first; cursor != null; cursor = cursor.getNext())
		{
			System.out.print(cursor.getItem()+" ");
		}
		System.out.println();
	}


}
